﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Personal.aspx.cs" Inherits="Personal" EnableViewState="false" %>

<style type="text/css">
    .style1 {
        height: 30px;
    }
</style>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table>
                    <tr>
                        <td>
                            <span style="color: red">*</span><asp:Label ID="Label1" runat="server" Text="Họ và Tên:"></asp:Label>
                        </td>
                        <td>
                            <asp:Panel runat="server">
                                <asp:TextBox ID="hoTenText" runat="server" OnTextChanged="hoTenText_TextChanged"></asp:TextBox>
                            </asp:Panel>
                            <br />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="hoTenText" ErrorMessage="Phải nhập họ và tên" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span style="color: red">*</span><asp:Label ID="Label2" runat="server" Text="Giới tính:"></asp:Label>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" RepeatDirection="Horizontal" Width="105px">
                                <asp:ListItem Selected="True">Nam</asp:ListItem>
                                <asp:ListItem>Nữ</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            <span style="color: red">*</span><asp:Label ID="Label3" runat="server" Text="Ngày sinh:"></asp:Label>
                        </td>
                        <td class="style1">
                            <asp:DropDownList ID="dayDropList" runat="server">
                            </asp:DropDownList>
                            <asp:DropDownList ID="monthDropList" runat="server">
                            </asp:DropDownList>
                            <asp:DropDownList ID="yearDropList" runat="server">
                            </asp:DropDownList>
                            <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Ngày tháng không hợp lệ" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span style="color: red">*</span><asp:Label ID="Label4" runat="server" Text="Địa chỉ:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="diaChiText" runat="server" Width="218px"></asp:TextBox>
                            <br />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="diaChiText" Display="Dynamic" ErrorMessage="Phải Nhập địa chỉ"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span style="color: red">*</span><asp:Label ID="Label5" runat="server" Text="Quốc gia:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="quocGiaDropList" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <span style="color: red">*</span><asp:Label ID="Label6" runat="server" Text="Thành phố:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="thanhPhoDropList" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="upLoadButton" runat="server" OnClick="upLoadButton_Click" Text="UpLoad" />
                        </td>
                        </td>
                        <td>
                            <asp:FileUpload ID="FileUpload1" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="capNhatButton" runat="server" OnClick="capNhatButton_Click" Text="Cập Nhật" />
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
    </div>
    </form>
</body>
</html>